<!DOCTYPE html PUBLIC 
    "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
<html 
	xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:ui="http://java.sun.com/jsf/facelets" 
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk"> 


	<ui:composition template="t_base.xhtml">

	<ui:define name="header">
		<h:outputText value="#{msgs['login.welcome']}" 	style="margin-left:5px;" />
	</ui:define>
	
	<ui:define name="menu">
		<h:form id="loginform">
			<table class="leftmenu">
				<tbody>
					<tr class="leftmenuheader">
						<th colspan="2"><h:outputText value="#{msgs['login.login']}" />
						</th>
					</tr>
					<tr class="leftmenu">
						<th><h:outputText value="#{msgs['login.username']}" />
						</th>
						<td><h:inputText id="user" type="text" value="#{userMgtBean.user}"/>
						</td>
					</tr>
					<tr class="leftmenu">
						<th><h:outputText value="#{msgs['login.password']}" />
						</th>
						<td><h:inputSecret id="password" type="password" value="#{userMgtBean.password}"/>
						</td>
					</tr>
					<tr class="leftmenu">
						<th/>
						<td style="text-align: right;">
							<h:commandButton value="#{msgs['login.login']}" action="home"/>
						</td>
					</tr>
				</tbody>
			</table>
		</h:form>
	</ui:define>

	<ui:define name="body">
	</ui:define>

</ui:composition>

</html>

